﻿//+------------------------------------------------------------------+
//|                                             MetaTrader 5 Web API |
//|                   Copyright 2001-2015, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
namespace MetaQuotes.MT5WebAPI.Common
  {
  /// <summary>
  /// Time on server
  /// </summary>
  public class MTConTime
    {
    public int DaylightState { get; set; }
    /// <summary>
    /// daylight correction mode
    /// </summary>
    public int Daylight { get; set; }
    /// <summary>
    /// server timezone in minutes (0-GMT;-3600=GMT-1;3600=GMT+1)
    /// </summary>
    public int TimeZone { get; set; }
    /// <summary>
    /// time synchronization server address (TIME or NTP protocol)
    /// </summary>
    public string TimeServer { get; set; }
    /// <summary>
    /// days
    /// </summary>
    public int[][] Days { get; set; }
    }
  }
